home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / level12.gls < prev    next >
Text File  |  2000-09-09  |  11KB  |  606 lines

  1. /************/
  2. /* INCLUDES */
  3. /************/
  4.  
  5. // n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
  6.  
  7. // default things to inherit our objects from
  8.  
  9. #include "defaults.gsh"
  10.  
  11. // good guys
  12.  
  13. #include "gunlok.gsh"
  14. #include "hark.gsh"
  15. #include "frend.gsh"
  16. #include "elint.gsh"
  17. #include "maskelyn.gsh"
  18.  
  19. // bad guys
  20.  
  21. #include "drone.gsh"
  22. #include "sneeker.gsh"
  23. #include "archore.gsh"
  24. #include "scythor.gsh"
  25.  
  26. // neutral things
  27.  
  28. #include "tumbleweed.gsh"
  29. #include "crate.gsh"
  30. #include "wall_multifrag.gsh"
  31. #include "technobox_multifrag.gsh"
  32.  
  33. // fires
  34.  
  35. #include "carfire.gsh"
  36. #include "oilfire.gsh"
  37.  
  38. /*********/
  39. /* NOTES */
  40. /*********/
  41.  
  42. /**********/
  43. /* SHAPES */
  44. /**********/
  45. shape Shp_van
  46. {
  47.     file "objects\van.rif"
  48.     name "van"
  49. }
  50. shape Shp_car
  51. {
  52.     file "objects\new car.rif"
  53.     name "new car"
  54. }
  55. shape Shp_VW_bus
  56. {
  57.     file "objects\VW bus.rif"
  58.     name "VW camper"
  59. }
  60. shape Shp_estate_car
  61. {
  62.     file "objects\new car 3.rif"
  63.     name "new car 3"
  64. }
  65. shape Shp_nodea
  66. {
  67.     file "levels\level12.rif"
  68.     name "nodea"
  69. }
  70. shape Shp_nodeb
  71. {
  72.     file "levels\level12.rif"
  73.     name "nodeb"
  74. }
  75. shape Shp_nodec
  76. {
  77.     file "levels\level12.rif"
  78.     name "nodec"
  79. }
  80. shape Shp_noded
  81. {
  82.     file "levels\level12.rif"
  83.     name "noded"
  84. }
  85. shape Shp_slide
  86. {
  87.     file "levels\level12.rif"
  88.     name "slide"
  89. }
  90. shape Shp_swinga
  91. {
  92.     file "levels\level12.rif"
  93.     name "swinga"
  94. }
  95. shape Shp_swingb
  96. {
  97.     file "levels\level12.rif"
  98.     name "swingb"
  99. }
  100. shape Shp_swingc
  101. {
  102.     file "levels\level12.rif"
  103.     name "swingc"
  104. }
  105. shape Shp_swingd
  106. {
  107.     file "levels\level12.rif"
  108.     name "swingd"
  109. }
  110. shape Shp_swinge
  111. {
  112.     file "levels\level12.rif"
  113.     name "swinge"
  114. }
  115. shape Shp_swingf
  116. {
  117.     file "levels\level12.rif"
  118.     name "swingf"
  119. }
  120. shape Shp_swingg
  121. {
  122.     file "levels\level12.rif"
  123.     name "swingg"
  124. }
  125. shape Shp_roundabout
  126. {
  127.     file "levels\level12.rif"
  128.     name "roundabout"
  129. }
  130. shape Shp_carriagea
  131. {
  132.     file "levels\level12.rif"
  133.     name "carriagea"
  134. }
  135. shape Shp_carriageb
  136. {
  137.     file "levels\level12.rif"
  138.     name "carriageb"
  139. }
  140. shape Shp_carriagec
  141. {
  142.     file "levels\level12.rif"
  143.     name "carriagec"
  144. }
  145. shape Shp_skeletons
  146. {
  147.     file "objects/skeleton.rif"
  148.     name "skeletons"
  149. }
  150. shape Shp_stand_in
  151. {
  152.     file "levels/level12.rif"
  153.     name "stand in"
  154. }
  155.  
  156. /********GARBAGE PICKUPS*/
  157.  
  158. shape Shp_Garbage_A
  159. {
  160.     file "objects\GARBAGE A.rif"
  161.     name "garbage A"
  162. }
  163. shape Shp_Garbage_B
  164. {
  165.     file "objects\GARBAGE B.rif"
  166.     name "garbage B"
  167. }
  168. shape Shp_Garbage_C
  169. {
  170.     file "objects\GARBAGE C.rif"
  171.     name "garbage C"
  172. }
  173. shape Shp_Garbage_D
  174. {
  175.     file "objects\GARBAGE D.rif"
  176.     name "garbage D"
  177. }
  178. shape Shp_Garbage_E
  179. {
  180.     file "objects\GARBAGE E.rif"
  181.     name "garbage E"
  182. }
  183. shape Shp_Garbage_F
  184. {
  185.     file "objects\GARBAGE F.rif"
  186.     name "garbage F"
  187. }
  188. shape Shp_Garbage_G
  189. {
  190.     file "objects\GARBAGE G.rif"
  191.     name "garbage G"
  192. }
  193. shape Shp_Garbage_H
  194. {
  195.     file "objects\GARBAGE H.rif"
  196.     name "garbage H"
  197. }
  198. shape Shp_Garbage_I
  199. {
  200.     file "objects\GARBAGE I.rif"
  201.     name "garbage I"
  202. }
  203. shape Shp_Garbage_J
  204. {
  205.     file "objects\GARBAGE J.rif"
  206.     name "garbage J"
  207. }
  208. shape Shp_Garbage_K
  209. {
  210.     file "objects\GARBAGE K.rif"
  211.     name "garbage K"
  212. }
  213. shape Shp_Garbage_L
  214. {
  215.     file "objects\GARBAGE L.rif"
  216.     name "garbage L"
  217. }
  218.  
  219. // world objects
  220.  
  221.  
  222. /**********/
  223. /* ROLES  */
  224. /**********/
  225.  
  226. // world objects
  227.  
  228. role Rol_van: Rol_PlacedObject
  229. {
  230.     shape Shp_van
  231.     ai    blocker
  232. }
  233. role Rol_car: Rol_PlacedObject
  234. {
  235.     shape Shp_car
  236.     ai    blocker
  237. }
  238. role Rol_VW_bus: Rol_PlacedObject
  239. {
  240.     shape Shp_VW_bus
  241.     ai    blocker
  242. }
  243. role Rol_Estate_car: Rol_PlacedObject
  244. {
  245.     shape Shp_estate_car
  246.     ai    blocker
  247. }
  248. role Rol_nodea : Rol_PlacedObject
  249. {
  250.     shape Shp_nodea
  251.     ai    track object
  252.     hit test ignore yes
  253.  
  254. }
  255. role Rol_nodeb : Rol_PlacedObject
  256. {
  257.     shape Shp_nodeb
  258.     ai    track object
  259.     hit test ignore yes
  260. }
  261. role Rol_nodec : Rol_PlacedObject
  262. {
  263.     shape Shp_nodec
  264.     ai    track object
  265.     hit test ignore yes
  266. }
  267. role Rol_noded : Rol_PlacedObject
  268. {
  269.     shape Shp_noded
  270.     ai    track object
  271.     hit test ignore yes
  272. }
  273. role Rol_slide : Rol_PlacedObject
  274. {
  275.     shape Shp_slide
  276. }
  277. role Rol_swinga : Rol_PlacedObject
  278. {
  279.     shape Shp_swinga
  280. }
  281. role Rol_swingb : Rol_PlacedObject
  282. {
  283.     shape Shp_swingb
  284. }
  285. role Rol_swingc : Rol_PlacedObject
  286. {
  287.     shape Shp_swingc
  288. }
  289. role Rol_swingd : Rol_PlacedObject
  290. {
  291.     shape Shp_swingd
  292. }
  293. role Rol_swinge : Rol_PlacedObject
  294. {
  295.     shape Shp_swinge
  296. }
  297. role Rol_swingf : Rol_PlacedObject
  298. {
  299.     shape Shp_swingf
  300. }
  301. role Rol_swingg : Rol_PlacedObject
  302. {
  303.     shape Shp_swingg
  304. }
  305. role Rol_roundabout : Rol_PlacedObject
  306. {
  307.     shape Shp_roundabout
  308. }
  309. role Rol_carriagea : Rol_PlacedObject
  310. {
  311.     shape Shp_carriagea
  312. }
  313. role Rol_carriageb : Rol_PlacedObject
  314. {
  315.     shape Shp_carriageb
  316. }
  317. role Rol_carriagec : Rol_PlacedObject
  318. {
  319.     shape Shp_carriagec
  320. }
  321. role Rol_skeletons : Rol_PlacedObject
  322. {
  323.     shape Shp_skeletons
  324.     hit test ignore yes
  325. }
  326. role Rol_stand_in : Rol_PlacedObject
  327. {
  328.     shape Shp_stand_in
  329.     ai pickup
  330.     destination selectable yes
  331. }
  332.  
  333. /********GARBAGE PICKUPS*/
  334.  
  335. role Rol_Garbage_A : Rol_DefaultGarbage
  336. {
  337.     shape    Shp_Garbage_A
  338. }
  339. role Rol_Garbage_B : Rol_DefaultGarbage
  340. {
  341.     shape    Shp_Garbage_B
  342. }
  343. role Rol_Garbage_C : Rol_DefaultGarbage
  344. {
  345.     shape    Shp_Garbage_C
  346. }
  347. role Rol_Garbage_D : Rol_DefaultGarbage
  348. {
  349.     shape    Shp_Garbage_D
  350. }
  351. role Rol_Garbage_E : Rol_DefaultGarbage
  352. {
  353.     shape    Shp_Garbage_E
  354. }
  355. role Rol_Garbage_F : Rol_DefaultGarbage
  356. {
  357.     shape    Shp_Garbage_F
  358. }
  359. role Rol_Garbage_G : Rol_DefaultGarbage
  360. {
  361.     shape    Shp_Garbage_G
  362. }
  363. role Rol_Garbage_H : Rol_DefaultGarbage
  364. {
  365.     shape    Shp_Garbage_H
  366. }
  367. role Rol_Garbage_I : Rol_DefaultGarbage
  368. {
  369.     shape    Shp_Garbage_I
  370. }
  371. role Rol_Garbage_J : Rol_DefaultGarbage
  372. {
  373.     shape    Shp_Garbage_J
  374. }
  375. role Rol_Garbage_K : Rol_DefaultGarbage
  376. {
  377.     shape    Shp_Garbage_K
  378. }
  379. role Rol_Garbage_L : Rol_DefaultGarbage
  380. {
  381.     shape    Shp_Garbage_L
  382. }
  383.  
  384. /***********/
  385. /* THE MAP */
  386. /***********/
  387.  
  388. map /* _THE_ map - doesnt need a label */
  389. {
  390.     file "levels\level12.rif"
  391.     name "Land"
  392.     bitmap "bitmaps\\LEVEL12.rim"
  393.     camera plane none
  394.     max camera distance 100 // TBD exactly
  395.     shadow object rif "levels\level12_shadow.rif"
  396.     shadow object name "Land"
  397.  
  398.     // PLAYERS TROOPS
  399.  
  400.     use Rol_GunLok in team 1 for
  401.         "goodieb" as "gunlok"
  402.  
  403.     use Rol_Hark in team 1 for
  404.         "goodiea" as "hark"
  405.  
  406.     use Rol_Frend in team 1 for
  407.         "goodiec" as "frend"
  408.     use Rol_Elint in team 1 for
  409.         "goodied" as "elint"
  410.  
  411.     // AI'S TROOPS
  412.  
  413.     // NEUTRAL OBJECTS
  414.  
  415. use Rol_van in team 0 for 
  416. "vanA" and
  417. "vanB" and
  418. "vanC" and
  419. "vanD" and
  420. "vanE" and
  421. "vanF" and
  422. "vanG" and
  423. "vanH" and
  424. "vanI" and
  425. "vanJ" and
  426. "vanK" and
  427. "vanL" and
  428. "vanM" and
  429. "vanN" and
  430. "vanO" 
  431. use Rol_Estate_car in team 0 for
  432. "Estate CarA" and
  433. "Estate CarB" and
  434. "Estate CarC" and
  435. "Estate CarD" and
  436. "Estate CarE" and
  437. "Estate CarF" and
  438. "Estate CarG" and
  439. "Estate CarH" and
  440. "Estate CarI" and
  441. "Estate CarJ" and
  442. "Estate CarK" and
  443. "Estate CarL" and
  444. "Estate CarM" and
  445. "Estate CarN" and
  446. "Estate CarO" and
  447. "Estate CarP" and
  448. "Estate CarQ" and
  449. "Estate CarR" and
  450. "Estate CarS" and
  451. "Estate CarT" and
  452. "Estate CarU" and
  453. "Estate CarV" and
  454. "Estate CarW" and
  455. "Estate CarX" and
  456. "Estate CarY" 
  457. use Rol_VW_bus in team 0 for
  458. "VW camperA" and
  459. "VW camperB" and
  460. "VW camperC" and
  461. "VW camperD" and
  462. "VW camperE" and
  463. "VW camperF" 
  464. use Rol_car in team 0 for
  465. "carA" and
  466. "carB" and
  467. "carC" and
  468. "carD" and
  469. "carE" and
  470. "carF" and
  471. "carG" and
  472. "carH" and
  473. "carI" and
  474. "carJ" and
  475. "carK" and
  476. "carL" and
  477. "carM" and
  478. "carN" and
  479. "carO" and
  480. "carP" and
  481. "carQ" and
  482. "carR" and
  483. "carS" and
  484. "carT" and
  485. "carU" and
  486. "carV" and
  487. "carW" and
  488. "carX" and
  489. "carY" and
  490. "carZ" 
  491. use Rol_nodea in team 0 for
  492. "nodea" as "nodea"
  493. use Rol_nodeb in team 0 for
  494. "nodeb" as "nodeb"
  495. use Rol_nodec in team 0 for
  496. "nodec" as "nodec"
  497. use Rol_noded in team 0 for
  498. "noded" as "noded"
  499. use Rol_slide in team 0 for
  500. "slide"
  501. use Rol_swinga in team 0 for
  502. "swinga"
  503. use Rol_swingb in team 0 for
  504. "swingb"
  505. use Rol_swingc in team 0 for
  506. "swingc"
  507. use Rol_swingd in team 0 for
  508. "swingd"
  509. use Rol_swinge in team 0 for
  510. "swinge"
  511. use Rol_swingf in team 0 for
  512. "swingf"
  513. use Rol_swingg in team 0 for
  514. "swingg"
  515. use Rol_roundabout in team 0 for
  516. "roundabout"
  517. use Rol_carriagea in team 0 for
  518. "carriagea"
  519. use Rol_carriageb in team 0 for
  520. "carriageb"
  521. use Rol_carriagec in team 0 for
  522. "carriagec"
  523. use Rol_skeletons in team 0 for
  524. "skeletons"
  525. use Rol_stand_in in team 0 for
  526. "stand in" as "stand_in"
  527.  
  528.     /********GARBAGE PICKUPS*/
  529.  
  530.     use Rol_Garbage_A in team 0 for
  531.         "garbageAA" as "garbageaa"
  532.     use Rol_Garbage_A in team 0 for
  533.         "garbageAB" as "garbageab"
  534.     use Rol_Garbage_A in team 0 for
  535.         "garbageAC" as "garbageac"
  536.     use Rol_Garbage_A in team 0 for
  537.         "garbageAD" as "garbagead"
  538.     use Rol_Garbage_A in team 0 for
  539.         "garbageAE" as "garbageae"
  540.  
  541.     use Rol_Garbage_B in team 0 for
  542.         "garbageBA" as "garbageba"
  543.     use Rol_Garbage_B in team 0 for
  544.         "garbageBB" as "garbagebb"
  545.     use Rol_Garbage_B in team 0 for
  546.         "garbageBC" as "garbagebc"
  547.     use Rol_Garbage_B in team 0 for
  548.         "garbageBD" as "garbagebd"
  549.     use Rol_Garbage_B in team 0 for
  550.         "garbageBE" as "garbagebe"
  551.     use Rol_Garbage_B in team 0 for
  552.         "garbageBF" as "garbagebf"
  553.     use Rol_Garbage_B in team 0 for
  554.         "garbageBG" as "garbagebg"
  555.  
  556.     use Rol_Garbage_C in team 0 for
  557.         "garbageCA" as "garbageca"
  558.     use Rol_Garbage_C in team 0 for
  559.         "garbageCB" as "garbagecb"
  560.     use Rol_Garbage_C in team 0 for
  561.         "garbageCC" as "garbagecc"
  562.     use Rol_Garbage_C in team 0 for
  563.         "garbageCD" as "garbagecd"
  564.     use Rol_Garbage_C in team 0 for
  565.         "garbageCE" as "garbagece"
  566.     use Rol_Garbage_C in team 0 for
  567.         "garbageCF" as "garbagecf"
  568.     use Rol_Garbage_C in team 0 for
  569.         "garbageCG" as "garbagecg"
  570.  
  571.     use Rol_Garbage_G in team 0 for
  572.         "garbageGA" as "garbagega"
  573.     use Rol_Garbage_G in team 0 for
  574.         "garbageGB" as "garbagegb"
  575.     use Rol_Garbage_G in team 0 for
  576.         "garbageGC" as "garbagegc"
  577.     use Rol_Garbage_G in team 0 for
  578.         "garbageGD" as "garbagegd"
  579.  
  580.     use Rol_Garbage_I in team 0 for
  581.         "garbageIA" as "garbageia"
  582.     use Rol_Garbage_I in team 0 for
  583.         "garbageIB" as "garbageib"
  584.     use Rol_Garbage_I in team 0 for
  585.         "garbageIC" as "garbageic"
  586.     use Rol_Garbage_I in team 0 for
  587.         "garbageID" as "garbageid"
  588.  
  589.     use Rol_Garbage_J in team 0 for
  590.         "garbageJA" as "garbageja"
  591.     use Rol_Garbage_J in team 0 for
  592.         "garbageJB" as "garbagejb"
  593.     use Rol_Garbage_J in team 0 for
  594.         "garbageJC" as "garbagejc"
  595.     use Rol_Garbage_J in team 0 for
  596.         "garbageJD" as "garbagejd"
  597.  
  598.  
  599.  
  600. }
  601.  
  602. camera track
  603. {
  604.     file "levels\level12.rif"
  605.     name "scene 22"
  606. }